package com.example.basicdemo.model.domain;

import com.isyscore.os.dev.api.IsyscoreObject;

import java.util.List;

/**
 * @Description: java类作用描述
 * @Author: lill
 * @CreateDate: 2019/8/22 11:14
 * @UpdateUser: 更新者
 * @UpdateDate: 2019/8/22 11:14
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public class AclRegisterModuleDomain implements IsyscoreObject {

    /**
     * 应用标识码
     */
    private String appCode;

    /**
     * 应用名称
     */
    private String appName;

    /**
     * 应用类型
     */
    private Integer type;

    /**
     * 根节点是否选中
     */
    private boolean rootSelect;

    /**
     * 应用logo
     */
    private String logo;

    /**
     * 应用地址
     */
    private String redirectUrl;

    /**
     * 权限菜单列表
     */
    private List<AclModuleLevelDomain> acls;

    public String getAppCode() {
        return appCode;
    }

    public AclRegisterModuleDomain setAppCode(String appCode) {
        this.appCode = appCode;
        return this;
    }

    public String getAppName() {
        return appName;
    }

    public AclRegisterModuleDomain setAppName(String appName) {
        this.appName = appName;
        return this;
    }

    public Integer getType() {
        return type;
    }

    public AclRegisterModuleDomain setType(Integer type) {
        this.type = type;
        return this;
    }

    public boolean isRootSelect() {
        return rootSelect;
    }

    public AclRegisterModuleDomain setRootSelect(boolean rootSelect) {
        this.rootSelect = rootSelect;
        return this;
    }

    public String getLogo() {
        return logo;
    }

    public AclRegisterModuleDomain setLogo(String logo) {
        this.logo = logo;
        return this;
    }

    public String getRedirectUrl() {
        return redirectUrl;
    }

    public AclRegisterModuleDomain setRedirectUrl(String redirectUrl) {
        this.redirectUrl = redirectUrl;
        return this;
    }

    public List<AclModuleLevelDomain> getAcls() {
        return acls;
    }

    public AclRegisterModuleDomain setAcls(List<AclModuleLevelDomain> acls) {
        this.acls = acls;
        return this;
    }

    @Override
    public String toString() {
        return "AclRegisterModuleDomain{" +
                "appCode='" + appCode + '\'' +
                ", appName='" + appName + '\'' +
                ", type=" + type +
                ", rootSelect=" + rootSelect +
                ", logo='" + logo + '\'' +
                ", redirectUrl='" + redirectUrl + '\'' +
                ", acls=" + acls +
                '}';
    }
}
